package extendsconstructor;

public class Test {

    //目标：理解this(...)调用兄弟构造器
    public static void main(String[] args) {
        //创建对象
        Student s = new Student ("张三",18,"一中");
        System.out.println(s);

        Student t = new Student ("李四", 19);
        System.out.println(t);
    }
}
